home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_6.lha
/
7_6
/
7_6_insh.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
363b
|
17 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ Insert an entry before the
/ current location of the list.
/ If curr is not set, insert at
/ the beginning of the list.
oid dlist::inserthere(ent a)
if (curr)
curr->insert(new dlink(a));
else
this->insert(a);